<?php
		// Init form
		$fattributes = array ('class' => 'form', 'id' => 'form' );
		echo form_open ( 'slideshow/add', $fattributes);
?>
		<table>
			<tr>
				<td colspan="2">
					<h3>Thêm mới banner</h3>
				</td>
			</tr>
			<tr>
				<td width="100px"><?php echo form_label('Hình ảnh', 'title')?></td>
				<td><input type="file" name="slideshow" /></td>
			</tr>
			<tr>
				<td>Đường dẫn</td>
				<td><input type="text" name="link" /></td>
			</tr>
			<tr>
				<td><?php echo form_label('Trạng thái')?></td>
				<td><?php echo form_dropdown('group',array('Ẩn'=>'Ẩn','Hiện' => 'Hiện'), 'Hiện')?></td>
			</tr>
			<tr>
				<td></td>
				<td>
					<?php echo form_submit(array('name' => 'submit','value' => 'thêm mới','class' => 'button button_red'));?>
					<?php echo form_reset(array('name' => 'submit','value' => 'Làm lại','class' => 'button button_red'));?>
				</td>
			</tr>
		</table>
	</form>